package flowlight.dao;

import flowlight.entity.User;
import org.springframework.stereotype.Repository;

@Repository("flowlightUserDao")
public interface UserDao {
    User findById(Integer userId);

    User findByPhone(String phone);

    void insertUser(User user);
}
